package cn.ainit.exchange.entity;
// default package

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;


/**
 * MappingGroup entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name="SYS_MAPPING_GROUP")
public class MappingGroup  implements java.io.Serializable {

    // Fields    
     private String groupMappingId;
     private String groupMappingName;
     private String sourceGroupId;
     private String targetGroupId;
     private String runMode;
     private Integer runTimePeriod;
     private String isValid;
     private Date lastRunTime;
     private Integer runOrder;
     private String memo;

    // Constructors

    /** default constructor */
    public MappingGroup() {
    }

   
    // Property accessors
    @Id 
    @Column(name="GROUP_MAPPING_ID", unique=true, nullable=false, length=32)

    public String getGroupMappingId() {
        return this.groupMappingId;
    }
    
    public void setGroupMappingId(String groupMappingId) {
        this.groupMappingId = groupMappingId;
    }
    
    @Column(name="GROUP_MAPPING_NAME", nullable=false, length=128)

    public String getGroupMappingName() {
        return this.groupMappingName;
    }
    
    public void setGroupMappingName(String groupMappingName) {
        this.groupMappingName = groupMappingName;
    }
    
    @Column(name="SOURCE_GROUP_ID", length=32)

    public String getSourceGroupId() {
        return this.sourceGroupId;
    }
    
    public void setSourceGroupId(String sourceGroupId) {
        this.sourceGroupId = sourceGroupId;
    }
    
    @Column(name="TARGET_GROUP_ID", length=32)

    public String getTargetGroupId() {
        return this.targetGroupId;
    }
    
    public void setTargetGroupId(String targetGroupId) {
        this.targetGroupId = targetGroupId;
    }
    
    @Column(name="RUN_MODE", length=1)

    public String getRunMode() {
        return this.runMode;
    }
    
    public void setRunMode(String runMode) {
        this.runMode = runMode;
    }
    
    @Column(name="RUN_TIME_PERIOD",scale=0)
    public Integer getRunTimePeriod() {
		return runTimePeriod;
	}
    
    public void setRunTimePeriod(Integer runTimePeriod) {
		this.runTimePeriod = runTimePeriod;
	}
    
    @Column(name="IS_VALID", length=1)

    public String getIsValid() {
        return this.isValid;
    }
    
    public void setIsValid(String isValid) {
        this.isValid = isValid;
    }
    @Temporal(TemporalType.DATE)
    @Column(name="LAST_RUN_TIME", length=7)

    public Date getLastRunTime() {
        return this.lastRunTime;
    }
    
    public void setLastRunTime(Date lastRunTime) {
        this.lastRunTime = lastRunTime;
    }
    
    @Column(name="RUN_ORDER", scale=0)
    public Integer getRunOrder() {
		return runOrder;
	}
    
    public void setRunOrder(Integer runOrder) {
		this.runOrder = runOrder;
	}
    
    @Column(name="MEMO", length=400)

    public String getMemo() {
        return this.memo;
    }
    
    public void setMemo(String memo) {
        this.memo = memo;
    }
   








}